package com.leruan.aasimp.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import com.leruan.aasimp.bean.SaleCarTypeBean;
import com.leruan.aasimp.dao.VendorDao;
import com.leruan.aasimp.service.VendorService;

public class VendorServiceImpl implements VendorService{

	@Resource
	private VendorDao vendorDao;
	
	public List<String> getVendorList() throws Exception {
		return vendorDao.getVendorList();
	}

	public void setVendorDao(VendorDao vendorDao) {
		this.vendorDao = vendorDao;
	}

	public List<SaleCarTypeBean> getVendor(Map<String, String> map)
			throws Exception {
		return vendorDao.getVendor(map);
	}
	
}
